package com.mz.entity.vo;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class MemberLockVo {

    @NotNull(message = "用户id不能为空")
    private Long userId;
    @NotNull(message = "lock属性不能为空")
    @Min(value = 0, message = "lock属性取值错误")
    @Max(value = 1, message = "lock属性取值错误")
    private Integer isLock;
}
